package spring.services;

import org.springframework.stereotype.Service;
import spring.Spitter;

/**
 * Created by kassadin@foxmail.com on 2017/4/27 0027.
 */
@Service
public class JdbcSpitterRepo implements SpitterRepo {
    public Spitter save(Spitter spitter) {
        return spitter;
    }

    public Spitter findByUsername(String username) {
        return new Spitter("hehe", "123456");
    }
}
